package com.miao.common.entity.search;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import java.math.BigDecimal;

/**
 * @author MiaoWenqing
 * @description: TODO
 * @date 2021/2/3 20:59
 */
public class ProductES {

    /**
     * 商品ID
     */
    private String proId;
    /**
     * 商店id
     */
    private Integer storeId;
    /**
     * 商品名称
     */
    private String proName;
    /**
     * 商品品类
     */
    private String proClass;
    /**
     * 商品标题
     */
    private String proTitle;
    /**
     * 商品售价
     */
    private BigDecimal proPrice;
    /**
     * 促销 折扣
     */
    private Integer proDis;
    /**
     * 是否为促销状态 1促销状态 0 正常状态
     */
    private Boolean isDiscount;
    /**
     * 商品封面图
     */
    private String proIcon;

    public ProductES() {
    }

    @Override
    public String toString() {
        return "ProductES{" +
                "proId='" + proId + '\'' +
                ", storeId=" + storeId +
                ", proName='" + proName + '\'' +
                ", proClass='" + proClass + '\'' +
                ", proTitle='" + proTitle + '\'' +
                ", proPrice=" + proPrice +
                ", proDis=" + proDis +
                ", isDiscount=" + isDiscount +
                ", proIcon='" + proIcon + '\'' +
                '}';
    }

    public String getProId() {
        return proId;
    }

    public void setProId(String proId) {
        this.proId = proId;
    }

    public Integer getStoreId() {
        return storeId;
    }

    public void setStoreId(Integer storeId) {
        this.storeId = storeId;
    }

    public String getProName() {
        return proName;
    }

    public void setProName(String proName) {
        this.proName = proName;
    }

    public String getProClass() {
        return proClass;
    }

    public void setProClass(String proClass) {
        this.proClass = proClass;
    }

    public String getProTitle() {
        return proTitle;
    }

    public void setProTitle(String proTitle) {
        this.proTitle = proTitle;
    }

    public BigDecimal getProPrice() {
        return proPrice;
    }

    public void setProPrice(BigDecimal proPrice) {
        this.proPrice = proPrice;
    }

    public Integer getProDis() {
        return proDis;
    }

    public void setProDis(Integer proDis) {
        this.proDis = proDis;
    }

    public Boolean getDiscount() {
        return isDiscount;
    }

    public void setDiscount(Boolean discount) {
        isDiscount = discount;
    }

    public String getProIcon() {
        return proIcon;
    }

    public void setProIcon(String proIcon) {
        this.proIcon = proIcon;
    }
}
